function shotOff() {
    var that;
}

shotOff.prototype = {
    params:'',
    init:function() {
        that = this;
        that.params = window.location.search;
        that.bindEvent();
    },
    bindEvent:function() {
        $("#onceAgain").on("click",that.changePage);
    },
    changePage:function() {
        window.location.href = "chooseSide" + that.params;
    }
}

$(function() {
    var obj = new shotOff();
        obj.init();
})